package com.hjl.spring6.jdbc;
import java.io.Serializable;
import java.util.Date;

/**
 * @author ServivE
 * @version 0.1
 * @className Emp
 * @description
 * @date 2024/8/7 14:31
 * @since jdk11
 */
public class Emp implements Serializable {
    private Integer eid;
    private String ename;
    private String esex;
    private Date hiredate;
    private String sal;

    public Emp() {
    }

    public Emp(Integer eid, String ename, String esex, Date hiredate, String sal) {
        this.eid = eid;
        this.ename = ename;
        this.esex = esex;
        this.hiredate = hiredate;
        this.sal = sal;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getEsex() {
        return esex;
    }

    public void setEsex(String esex) {
        this.esex = esex;
    }

    public Date getHiredate() {
        return hiredate;
    }

    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }

    public String getSal() {
        return sal;
    }

    public void setSal(String sal) {
        this.sal = sal;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "eid=" + eid +
                ", ename='" + ename + '\'' +
                ", esex='" + esex + '\'' +
                ", hiredate=" + hiredate +
                ", sal='" + sal + '\'' +
                '}';
    }
}
